/* 快捷操作栏样式 */

.quick-actions-bar {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.quick-actions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.quick-actions-title {
  margin: 0;
  font-size: 18px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.quick-actions-subtitle {
  font-size: 12px;
  color: #666;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

/* 快捷操作卡片 */
.quick-action-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  padding: 15px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.quick-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.quick-action-card:active {
  transform: translateY(-1px);
}

.quick-action-icon {
  font-size: 28px;
  line-height: 1;
}

.quick-action-content {
  flex: 1;
}

.quick-action-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.quick-action-desc {
  font-size: 11px;
  opacity: 0.9;
}

/* 不同颜色主题 */
.quick-action-card.export {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  box-shadow: 0 2px 8px rgba(17, 153, 142, 0.3);
}

.quick-action-card.export:hover {
  box-shadow: 0 6px 16px rgba(17, 153, 142, 0.4);
}

.quick-action-card.goal {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
}

.quick-action-card.goal:hover {
  box-shadow: 0 6px 16px rgba(79, 172, 254, 0.4);
}

.quick-action-card.comment {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3);
}

.quick-action-card.comment:hover {
  box-shadow: 0 6px 16px rgba(240, 147, 251, 0.4);
}

.quick-action-card.analysis {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  box-shadow: 0 2px 8px rgba(250, 112, 154, 0.3);
}

.quick-action-card.analysis:hover {
  box-shadow: 0 6px 16px rgba(250, 112, 154, 0.4);
}

.quick-action-card.backup {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  box-shadow: 0 2px 8px rgba(48, 207, 208, 0.3);
}

.quick-action-card.backup:hover {
  box-shadow: 0 6px 16px rgba(48, 207, 208, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .quick-actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }
  
  .quick-action-card {
    padding: 12px;
    flex-direction: column;
    text-align: center;
  }
  
  .quick-action-icon {
    font-size: 32px;
  }
}

/* 深色模式适配 */
body.dark-mode .quick-actions-bar {
  background: #1e1e1e;
}

body.dark-mode .quick-actions-title {
  color: #e0e0e0;
}

body.dark-mode .quick-actions-subtitle {
  color: #b0b0b0;
}

body.dark-mode .quick-actions-header {
  border-bottom-color: #333;
}

/* 加载动画 */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-actions-bar {
  animation: slideInDown 0.5s ease-out;
}

